class Comment < ActiveRecord::Base
	belongs_to :picture
	belongs_to :user
	validates_presence_of :body, :picture, :user
	validates_uniqueness_of :body, :scope => [:picture_id, :user_id]
end
